from django.urls import path
from apps.order.views import OrdersView,StatusOrderView,CommentOrderView
    # OrdersSubmitView

urlpatterns = [
    # 添加订单
    path('api/v1.0/orders',OrdersView.as_view()),
    # 获取订单列表
    # path('api/v1.0/user/orders', OrdersSubmitView.as_view()),
    # 接单和拒单
    path('api/v1.0/orders/<int:order_id>/status', StatusOrderView.as_view()),
    # 评论订单
    path('api/v1.0/orders/<int:order_id>/comment', CommentOrderView.as_view()),
]




